package com.gerfmarquez.nymph.ui.gesture.detectors;

import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.MotionEvent;

public class XScrollDetector extends SimpleOnGestureListener {

	@Override
	public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
			float distanceY) {
		if(Math.abs(distanceX) > Math.abs(distanceY)) {
			return true;
		}
		return false;
	}





}
